SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9509578daf8b7888c2af54f1c36aa883cd512100bcfde949f886dc6cdfefddda' 
  AND token = 'loLrF1mk0su7E0A/JyNSGgEaJVBCcMxyKv/kO9j/+mw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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