SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd49c51f73be8229311b106fda2da1f320012af92a9ac77019b05969d3777a4f7' 
  AND token = 'yg9Hr4l0FTuTWOlzr9lesSAKL4TnFW0z2nBOFqBTg8U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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