SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd632077f674aba58dbf42743c6e00e3f10b8a29a9afa73e394ff4a30b08981f' 
  AND token = 'n0vI/9f6ybQOWsKEFq1Be8NrUadYwhFa5fO4rezmP/w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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