SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38fbb8019690b95b6f4d5256f562a32f08c50a0c6a3fe2aad8ac400367dffc2e' 
  AND token = 'ycOIPi1ScvuMrlcVjDIJE/V3IP/hl87GA5Y+od9d6nc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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