SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b38b8ffdbecb7578953136cff315dfcdf7049c6c8687263232988b4048e52dfc' 
  AND token = '5L8rSN5IOkc/IzFmucllcmIkVMZFv2TuPhGEm6wTepc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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