SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e269886072cd977bb5f0f6ad3dfa631942036048fa999f74cef14ddbfd19e339' 
  AND token = 'CzPgmsrncwhg8oJS9Cr6j/xRfsajizpIByxg6sAeZ8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}