SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e015d855e370f97c273ee62ef1a34bfe2cc5dc46163e586e631c3c606590d2e' 
  AND token = '8SoHnHF5zlXZldW/Cfn8rWaFTA0c7J1pHFXW+HWgghI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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