SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a1f5dd0feaf6ae9efc4e7182fbed88f44c4e718fe51fca32233150bb78ab015' 
  AND token = 'YdzG0OmH5aIE4BjvZ5GMmFI/zi/5GPLNwGHSNZnNCWo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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