SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec8f30f82bfe416488bc7286a3f9eea577c212b0817a4f9a36e968972660a94f' 
  AND token = 'tcSkuM6jf3/HvyRpiNV27TScvHkNJLj3y/qFhoyRXwc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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