SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9aeb74d0fcc74c3a187125e89e5a980d773e518cd89955d3401741d0b61af3e5' 
  AND token = 'CibS5yqvaXaSIdRDp7O673y0fhJwiosisjtxJIng3Q8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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