SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d819a94c8400f581d33a2199496b0f2d9e33415e196213a746141e4cde439f7' 
  AND token = '1VJJY2O151Woa/9ShJ+nvou9O9vk/e1H4CeP7tdoBEo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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