SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '216fc4b6b152961a1ede5374693d20722b00b71ee77ad04aba5dc609682975aa' 
  AND token = 'U0Hdm29tqbrV44rq9kYcSXmtO30mxBoLR1gRRC22IAA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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