SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce066ab8046fdf28f2c2be71920f2d7ba4fe3b3fa21f78779fa65f14456b0e71' 
  AND token = 'Fnv6qSzmkaZBxp4Un7zH/0rF5q5ZfRS5cKp+8Xt0Aig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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