SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caa829318e42bf7cb9c0d73d7106ca40982c587c84c105e9edb47fe0e4c28e9e' 
  AND token = 'jW/43NqD4qaOZ3v+Rtxj0VSwRuDfooU0uWHgVoP0heQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}