SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30499932ea4ca0b42b8142be2091e309f986ccd6644aa60b288e57e8e00493b9' 
  AND token = 'C9CL4PSKeD7xK7e9eK7vDt3ERHCaV+4CbS+y6q38hJo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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