SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3def0c4b02ab2224139a28caece4549a3e494d7efa2c3d0e204ca162f1f817f0' 
  AND token = 'h1IjEajTnX6wlwGVtMoR84HFUxKEXL5FtWboyB8iLg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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