SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def32171260d6db1f326f909dd186dabad9407b9055d944a0911e56a52fd68e2' 
  AND token = 'Uz5Lhu0Brm/iN6bQKQw07frqwQ/tzFIHfMqzST4vcYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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