SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '616bcfc824da545294248dcd5f7333bd301fc9ad4bc2d469522ddcddab8bb89f' 
  AND token = 'GNBevFsU6/8lmw0McnZsf3Hl10ekrPPWfWzE1/i8S1U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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