SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b779f5783b54795638b8c7b68660d7b9635f4f1a6d3c26847cdf209aea744ab4' 
  AND token = 'qW8crAlS0uPrdIZozBHU1sBSdxnxLGow2RcYM/EAh8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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