SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b325fba680803243bdc1154e77c788dc12f92b509c46c1bfb08f6c92523aba29' 
  AND token = 'r1koO041LRNRYLKtkpe/e6WRnLNetejDcED4XQExjeA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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