SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de5efea1c68402bc8eacf104397d791f3925c6eb2e4545f9c4d83e95c73ef28b' 
  AND token = 'sxbz29U/dEvFniti1yXqk4648MIG9NbDldm4nIVlpyI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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