SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1a3e2247d961e3acd340eebce1990c926f5168c9543d4059601896bdc6bc3b2' 
  AND token = 'SwEgmcFNLLF8qIVXpWu050s3+APXUxc0eUlSYC09Kzc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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