SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16a1fd1c30b17984d1668b3124b1117e31ef3fdfc7eef9d9bb419fe45eba330c' 
  AND token = '5Zy1B3+bYwoEiIcqUCPo2YjKkaqQZfIsgn2TXhaB0BA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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