SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '834b34b74120f59b5aceee230011654998b527256fe8f96e765e8b830125f0f0' 
  AND token = 'LyQJy1vC+aUujb8ruRHSXUSHiLiqpVpAIp9wRaYkA/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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