SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '586e0441384805dcc2b431bbc8336b31e7586c7234e155ff234415d1fb66aa2f' 
  AND token = 'E/298yN0pfd4qxXn3JcUT6/yWHk/woD4r1Ujf4UUghI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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