SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a667a027c808cad5f4f34a89b583e516d0068bc5c265ed47f779557084112597' 
  AND token = 'kST7UMbrMYbh7iADYSM5UAGeKk9/dIVZ2pLri0CtKgg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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