SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25e6bf5b817a38bfcf553e282a4bf5a87011459b93af6ce7a953d6bb3d484994' 
  AND token = 'OIyQIUv4YCdWgpXNT109o+APw8ylCCnsMHoGuxEb4tI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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