SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '335acd8808a789fccac3313cbc34b7067b934b904b62d0863e7eb96a2851f332' 
  AND token = 'r0D4e9Aj6Q+URqEX1gGfxxlK7qyfCK/Fkbk1S143zxc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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