SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00ec23e4c0c58f4aa94204dee2e1d44ecc57e6194a4107336ea97a9fd495a74c' 
  AND token = 'gSxQYFR72ImawQrJ9wwFN/dG+qf7+A/uu0+U+CVo0hU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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