SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3717c83b746edcf82bee8eb3f3053a9fbca3e169f9e917099799b279eda62894' 
  AND token = '+lZBxJ86b33i+9sjzMHoOvwCQHNbo0pOpZYd6iwuO8U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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