SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51ed74b63bbe5325deaeafc4e882011aefc7f7210d8b8f6559d953cc710786c4' 
  AND token = 'ydmhRQyqcfZg0xCDuV5ZfRoavmuOWQe9JRVVktJ/w80=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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