SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ba23a1f9bd434190ba0794cce925be3f011e18076b87ca5fefb803f75f27398' 
  AND token = '46Qe7nk5fY+5iyAJFA9JEsB9vNDqOr25hAule914gBI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}