SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9696b8dd1ac512bfaef4ad800752aaf62efd0d785a95483001dff9d08b27536f' 
  AND token = 'YjqfEx97TytAihxHgJKzLpn329IFBtgW2Y7m0L9p71k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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