SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2f4ee28e3d6f058dca9b776cf01206685d6c0bd42adc1cd4b391c4797e64b61' 
  AND token = 'Zft+6ObwI/2H3x+iMdHBJk33vc2KZX52hk/bqn1tu+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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