SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4510c0a6f613e1d2b7d39fbcad3bde146ae120f9a18ba85c54b7e5426cc8c51' 
  AND token = '5pxi7esIOhmX0ZfYTeuGLfhwfqYwqZfbqQZNbrkNSF0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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