SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d7d515654b020dcd74f5bd656ab07271cc417c8be77de247709920d85dad1f0' 
  AND token = 'DW2u1nqeXNoVYTdIiU/DogX1yHRe2dpGJzr+ITmcvoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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